import { configureStore } from '@reduxjs/toolkit'
import user from "./user/UserSlice"
import logger from "redux-logger"

export const store = configureStore({
  reducer: {
    user:user
  },
  middleware:getDefaulMiddlewares=>getDefaulMiddlewares().concat(logger)
})